﻿Imports System.ComponentModel.DataAnnotations

Namespace Ita.ProElicere.Model

    Public Class Company
        <ScaffoldColumn(False)> _
        Public Property CompanyID() As Integer

        <Required(ErrorMessage:="The name is required"), StringLength(100), Display(Name:="Name")> _
        Public Property CompanyName() As String

        <Required(ErrorMessage:="The country is required"), StringLength(100), Display(Name:="Country")> _
        Public Property Country() As String

        <Required(ErrorMessage:="The User is required"), StringLength(100), Display(Name:="User")> _
        Public Property User() As String

        Public Overridable Property Projects() As ICollection(Of Project)

    End Class
End Namespace